<% var user = shiro.getUser(); %>
<!--功能面板-->
<div class="panel panel-default">
    <div class="panel-body user-bg">
        <div class="text-center">
            <a class="img-thumbnail img-circle" href="/user/settings" title="点击编辑"> <img src="${uploaderFilesDomain!}${user.avatar!'/static/images/avatar/avatar.jpg'}" class="img-circle" width="128" alt="${user.userName!}" title="点击编辑" ></a>
        </div>
    </div>
    <div class=" clearfix text-center user-footer">
        <span class="col-sm-4 col-xs-12 hidden-xs">时间：${webUtil.dateTime(user.loginTime)}</span>
        <span class="col-sm-4 col-xs-12">姓名：<strong>${isNotEmpty(user.realName)?user.realName:user.userName}</strong></span>
        <span class="col-sm-4 col-xs-12 hidden-xs">地址：${user.loginIp}</span>
    </div>
</div>